import React, { Component } from 'react'

export default class MovieItem extends Component {
  render() {
    const { urlImg, name, score } = this.props
    return (
      <div className="movie-item">
        <p className="img-box">
          <img src={urlImg} alt="" />
        </p>
        <p className="des">
          <span>{name}</span>
          <span>{score}</span>
        </p>
      </div>
    )
  }
}
